package com._21cn.product.entity;

import com._21cn.cms.common.Constants;

import java.io.Serializable;
import java.util.Date;

public class Property implements Serializable {
	private static final long serialVersionUID = -1L;	
	
	private Integer id;
	private Integer typeId = 4;         //默认4，基本参数
	private String name;
	private String code;
	private Integer valueType = 1;      //1字符串，2整型，3浮点型，4日期，5boolean
	private Integer valueLength = 255;
	private String minValue;
	private String maxValue;
	private String defaultValue = "";
	private String memo = "";
	private Integer sortNum = 0;
	private Integer status = Constants.STATUS_ENABLE;
	private java.util.Date createTime = new Date();
	private java.util.Date modifyTime = new Date();
	
    public void setId(Integer id) {  
        this.id = id;  
    }        
    public Integer getId() {  
        return this.id;  
    }  

    public void setTypeId(Integer typeId) {  
        this.typeId = typeId;  
    }        
    public Integer getTypeId() {  
        return this.typeId;  
    }  

    public void setName(String name) {  
        this.name = name;  
    }        
    public String getName() {  
        return this.name;  
    }  

    public void setCode(String code) {  
        this.code = code;  
    }        
    public String getCode() {  
        return this.code;  
    }  

    public void setValueType(Integer valueType) {  
        this.valueType = valueType;  
    }        
    public Integer getValueType() {  
        return this.valueType;  
    }  

    public void setValueLength(Integer valueLength) {  
        this.valueLength = valueLength;  
    }        
    public Integer getValueLength() {  
        return this.valueLength;  
    }  

    public void setMinValue(String minValue) {  
        this.minValue = minValue;  
    }        
    public String getMinValue() {  
        return this.minValue;  
    }  

    public void setMaxValue(String maxValue) {  
        this.maxValue = maxValue;  
    }        
    public String getMaxValue() {  
        return this.maxValue;  
    }  

    public void setDefaultValue(String defaultValue) {  
        this.defaultValue = defaultValue;  
    }        
    public String getDefaultValue() {  
        return this.defaultValue;  
    }  

    public void setMemo(String memo) {  
        this.memo = memo;  
    }        
    public String getMemo() {  
        return this.memo;  
    }  

    public void setSortNum(Integer sortNum) {  
        this.sortNum = sortNum;  
    }        
    public Integer getSortNum() {  
        return this.sortNum;  
    }  

    public void setStatus(Integer status) {  
        this.status = status;  
    }        
    public Integer getStatus() {  
        return this.status;  
    }  

    public void setCreateTime(java.util.Date createTime) {  
        this.createTime = createTime;  
    }        
    public java.util.Date getCreateTime() {  
        return this.createTime;  
    }  

    public void setModifyTime(java.util.Date modifyTime) {  
        this.modifyTime = modifyTime;  
    }        
    public java.util.Date getModifyTime() {  
        return this.modifyTime;  
    }  

}